
.photo-popup-backdrop {
    background-color: rgba(0,0,0,0.7);
    z-index: 1100;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}
.photo-popup-backdrop .photo-popup {
    width: 860px;
    position: relative;
    top: 10px;
    margin: 0 auto;
    background-color: #fff;
    font-size: 14px;
}
.photo-popup-backdrop .photo-popup .photo-modal-body {
    overflow: hidden;
}
.photo-popup-backdrop .photo-popup .photo-modal-header {
    padding: 6px 0 6px 15px;
    margin-right: 20px;
    border-bottom: 1px solid #e5e5e5;
}
.photo-popup-backdrop .photo-popup .photo-modal-header .close {
    font-size: 20px;
    float: right;
    font-weight: 700;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    line-height: 1.4;
    /*opacity: .2;*/
}
.photo-popup-backdrop .photo-popup .photo-modal-header .photo-popup_title {
    font-size: 14px;
    line-height: 28px;
    margin-right: 20px;
    font-weight: 600;
}
.photo-search-box .txt {
    width: 140px;
    height: 28px;
    padding: 5px;
    font-size: 12px;
    line-height: 16px;
    border: 1px solid #ddd;
    margin: 0;
    padding-left: 20px;
    background: #fff url(../images/ico-search.png) 4px center no-repeat;
    border-radius: 2px
}
.photo-search-box {
    top: 6px;
    right: 60px;
    position: absolute;
    z-index: 10;
    vertical-align: middle;
    margin: 0;
}
.photo-popup .photo-modal-body ul {
    list-style: none;
    padding-left: 0;
}
.photo-popup .photo-modal-body .fa-check {
    position: absolute;
    bottom: 0;
    right: 0;
    color: #FFF;
    z-index: 5;
}
.photo-popup-backdrop .photo-popup .photo-modal-body .faback {
    position: absolute;
    display: block;
    content: ' ';
    right: 0;
    bottom: 0;
    border: 14px solid #07d;
    border-left-color: transparent;
    border-top-color: transparent;
    z-index: 1;
}
.photo-popup .photo-modal-body .category-list-region {
    float: left;
    width: 160px;
    height: 470px;
    padding: 9px 0;
    background: #f2f2f2;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    overflow: auto;
}
.photo-popup .photo-modal-body .category-list-region .category-list {
    list-style: none;
}
.photo-popup .photo-modal-body .category-list-region .category-list li {
    position: relative;
    height: 40px;
    line-height: 40px;
    padding: 0 40px 0 15px;
    cursor: pointer;
    text-overflow: ellipsis;
    overflow: hidden;
}
.photo-popup .photo-modal-body .category-list-region .category-list li.active {
    background: #fff;
}
.photo-popup .photo-modal-body .category-list-region .category-list li:hover {
    background: #fafafa;
}
.photo-popup .photo-modal-body .category-list-region .category-list li span {
    position: absolute;
    right: 10px;
    top: 0;
    color: #999;
}
.photo-popup .photo-modal-body .attachment-list-region {
    padding: 20px 20px 10px 160px;
    width: 875px;
}
.photo-popup .photo-modal-body .attachment-list-region .image-list {
    height: 430px;
    overflow: auto;
}
.photo-popup .photo-modal-body .attachment-list-region .image-list .image-item {
    position: relative;
    float: left;
    width: 100px;
    height: 100px;
    margin-left: 15px;
    margin-bottom: 30px;
    cursor: pointer;
}
.photo-popup .photo-modal-body .attachment-list-region .image-list .image-item .image-box{
    background: #ccc;
    width: 100px;
    height: 100px;
    background-size: cover;
    background-position: 50% 50%;
    position: relative;
}
.photo-popup .photo-modal-body .attachment-list-region .image-list .image-item .image-box-too {
    border: 2px solid #07d;
    background: #ccc;
    width: 100px;
    height: 100px;
    background-size: cover;
    background-position: 50% 50%;
    position: relative;
}
.photo-popup .photo-modal-body .attachment-list-region .image-list .image-item .image-box-too.active {
    border: 2px solid #07d;
}
.photo-popup .photo-modal-body .attachment-list-region .image-list .image-item .image-box-too img {
    width: 100%;
    height: 100%;
}
.photo-popup .photo-modal-body .attachment-list-region .image-list .image-item .image-box.active {
    border: 2px solid #07d;
}
.photo-popup .photo-modal-body .attachment-list-region .image-list .image-item .image-box img {
    width: 100%;
    height: 100%;
}
.photo-popup .photo-modal-body .attachment-list-region .image-list .image-item .image-meta {
    position: absolute;
    width: 100px;
    height: 25px;
    line-height: 25px;
    color: #fff;
    text-align: center;
    background: rgba(0,0,0,0.2);
    bottom: 0;
}
.photo-popup .photo-modal-body .attachment-list-region .image-list .image-item .image-title {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    margin-top: 5px;
}
.photo-popup .photo-modal-body .attachment-pagination {
    position: absolute;
    bottom: 46px;
    width: 695px;
    height: 36px;
    padding: 6px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: #f8f8f8;
}
.photo-popup .photo-modal-body .attachment-pagination .photo-pagination {
    font-size: 12px;
    line-height: 26px;
    text-align: right;
}
.photo-popup .photo-modal-body .attachment-pagination .photo-pagination span {
    padding: 6px 0;
}
.photo-popup .photo-modal-body .attachment-pagination button {
    height: 33.5px;
    line-height: 26px;
    padding-top: 0;
    padding-bottom: 0;
    position: absolute;
    top: 0.1px;
}
.photo-popup .photo-modal-footer {
    height: 40px;
    text-align: center;
    border-top: 1px solid #ddd;
}
.photo-popup .photo-modal-footer button {
    height: 28px;
    line-height: 28px;
    padding-top: 0;
    padding-bottom: 0;
    width: 70px;
    margin-top: 5px;
}


/*上传图片弹框*/
.upload-photo {
    background-color: rgba(0,0,0,0.7);
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1170;
    display: none;
}
.upload-photo_box {
    width: 862px;
    border: 1px solid #ccc;
    position: relative;
    top: 80px;
    margin: 0 auto;
    background-color: #fff;
}
.upload-photo_box .box_top {
    padding: 6px 0 6px 15px;
    margin-right: 20px;
    border-bottom: 1px solid #e5e5e5;
    position: relative;
}
.upload-photo_box .box_top .upload_close {
    position: absolute;
    right: 0;
    font-size: 20px;
    cursor: pointer;
    color: #999;
}
.upload-photo_box .box_top .upload_title {
    font-size: 14px;
    line-height: 28px;
    margin-right: 20px;
}
.upload-photo_box .network-image-region,.upload-photo_box .local-image-region {
    margin: 0 20px;
    padding: 20px 10px;
    zoom: 1;
}
.upload-photo_box .network-image-region .content,.upload-photo_box .local-image-region .content {
    float: left;
    width: 600px;
    margin-left: 10px;
    background-color: #fff;
    position: relative;
    zoom: 1;
}
.upload-photo_box .network-image-region {
    border-bottom: 1px solid #e5e5e5;
}
.upload-photo_box .local-image-region .upload-local-image-list {
    margin-left: 5px;
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}
.upload-photo_box .local-image-region .upload-local-image-list .upload-local-image-item {
    position: relative;
    float: left;
    margin: 0 20px 20px 0;
    width: 80px;
    height: 80px;
}
.upload-photo_box .local-image-region .upload-local-image-list .upload-local-image-item .image-box {
    width: 80px;
    height: 80px;
}
.upload-photo_box .local-image-region .upload-local-image-list .upload-local-image-item .image-box img {
    width: 100%;
    height: 100%;
}
.upload-photo_box .network-image-region .input-append input {
    height: 28px;
    line-height: 28px;
    width: 250px;

}
.upload-photo_box .network-image-region .input-append button {
    height: 28px;
    line-height: 28px;
    padding-top: 0;
    padding-bottom: 0;
}
.upload-photo_box .network-image-region .title,.upload-photo_box .local-image-region .title {
    margin-top: 4px;
    float: left;
    font-size: 14px;
    font-weight: bold;
    width: 150px;
    text-align: right;
}
.upload-photo_box .network-image-region .content::after,.upload-photo_box .local-image-region .content::after,.network-image-region,.local-image-region {
    content: "";
    display: table;
    clear: both;
}
.upload-photo_box .local-image-region .add-local-image-button {
    position: relative;
    display: inline-block;
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    border: 2px dashed #ddd;
    line-height: 71px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    text-align: center;
    font-size: 36px;
    color: #ddd;
    cursor: pointer;
    overflow: hidden;
}
.upload-photo_box .local-image-region .add-local-image-button input {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 80px;
    height: 80px;
    direction: rtl;
    font-size: 23px;
    opacity: 0;
    cursor: pointer;
}
.upload-photo_box .local-image-region .c-gray {
    clear: both;
    color: #999;
}
.upload-photo_box .modal-footer {
    padding: 14px 15px 15px;
    background-color: #fff;
    border-top: 1px solid #ddd;
    -webkit-border-radius: 0 0 6px 6px;
    -moz-border-radius: 0 0 6px 6px;
    border-radius: 0 0 6px 6px;
    -webkit-box-shadow: inset 0 1px 0 #fff;
    -moz-box-shadow: inset 0 1px 0 #fff;
    box-shadow: inset 0 1px 0 #fff;
    position: relative;
}
.modal-footer:after, .modal-footer:before {
    display: table;
    line-height: 0;
    content: "";
}
.upload-photo .close-modal {
    position: absolute;
    z-index: 2;
    top: -8px;
    right: -8px;
    width: 18px;
    height: 18px;
    font-size: 18px;
    line-height: 16px;
    text-align: center;
    border-radius: 9px;
    background-color: rgba(0,0,0,0.3);
    border: 1px solid #ddd;
    color: #ddd;
}